package csel.model.items;

import csel.model.CharacterStats;

public class ImpenetrableBackpack extends Shield
{
	private static final long serialVersionUID = 6L;
	private double armorBonus = 2;
	public ImpenetrableBackpack()
	{
		super("Impenetrable Backpack", "This backpack will hold up against the heaviest of blows.", 35, "shield");
	}
	public int applyBonus(CharacterStats cs, int value)
	{
		if(cs == CharacterStats.Armor)
		{
			return((int)(armorBonus * value));
		}
		else
		{
			return(value);
		}
	}
}
